/* 
 * File:   PixelDispenser.h
 * Author: brady
 *
 * Created on June 23, 2011, 6:49 PM
 */

#ifndef PIXELDISPENSER_H
#define	PIXELDISPENSER_H

#include <dto/Pixel.h>
#include <vector>

using namespace std;

class PixelDispenser {
public:
    PixelDispenser();
    PixelDispenser(int xResolution, int yResolution);
    PixelDispenser(const PixelDispenser& orig);
    virtual ~PixelDispenser();
    Pixel getPixel();
    double completion();
    bool isEmpty();

private:
    int currentX;
    int currentY;
    int xResolution;
    int yResolution;
    bool empty;
    int totalPixels;
    int currentPixel;


};

#endif	/* PIXELDISPENSER_H */

